<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="loginCheck" method="get">
    用户名：<input type="text" name="userName"><br>
    密码：<input type="password" name="password"><br>
    <input type="submit">
</form>
<c:if test="${param.message=='LOGIN_TIME_OUT'}">
    <div style="color: red;size: 18px">登录超时，请重新登录</div>
</c:if>
<c:if test="${param.message=='LOGIN_ERROR'}">
    <div style="color: red;size: 18px">您输入的用户名或者密码不对，请重新输入</div>
</c:if>
<div style="color: #DBDBDB">${param.message}</div>
</body>
</html>
